<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>转账汇款</title>

    <script type="text/javascript" th:src="@{/js/jquery.min.js}"></script>


    <style type="text/css">
        body {
            background-color:#00b38a;
            text-align:center;
        }

        .lp-login {
            position:absolute;
            width:500px;
            height:300px;
            top:50%;
            left:50%;
            margin-top:-250px;
            margin-left:-250px;
            background: #fff;
            border-radius: 4px;
            box-shadow: 0 0 10px #12a591;
            padding: 57px 50px 35px;
            box-sizing: border-box
        }


        input[type='text'] {
            height:30px;
            width:250px;
        }

        tbody th {
            font-style: normal;
            font-variant-ligatures: normal;
            font-variant-caps: normal;
            font-variant-numeric: normal;
            font-variant-east-asian: normal;
            font-weight: normal;
            font-stretch: normal;
            font-size: 10px;
            line-height: 10px;
            font-family: "Hiragino Sans GB", "Microsoft Yahei", SimSun, Arial, "Helvetica Neue", Helvetica;
        }

    </style>
</head>
<body>
     <p th:text="${#session.id}"></p>
     <p th:text="${#request.localPort}"></p>
     <a th:href="@{/resume/add}" style="float:right;margin:100px;" class="add">添加</a>
     <a th:href="@{/logout}" style="float:right;margin:50px;" class="add">注销</a>
     <table class="lp-login">
        <thead>
            <tr>
                <th>名称</th>
                <th>手机号</th>
                <th>地址</th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody>
        <tr th:each="item : ${resumes}">
            <th th:text="${item.name}"/>
            <th th:text="${item.phone}"/>
            <th th:text="${item.address}"/>
            <th>
                <a th:href="@{/resume/update(id=${item.id})}">编辑</a>
                <a th:href="@{/resume/delete(id=${item.id})}">删除</a>
            </th>
        </tr>
        </tbody>
    </table>

</body>
</html>
